package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中介联系记录对象 agent_relationship
 * 
 * @author ruoyi
 * @date 2021-03-14
 */
public class AgentRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 联系情况 */
    @Excel(name = "联系情况", readConverterExp = "R1=无人接听,R2=空号,R3=下次再联系,R4=有意向,R5=客户回访")
    private String relationshipInfo;

    /** 下次联系时间 */
    @Excel(name = "下次联系时间")
    private String relationshipDate;

    /** 联系内容 */
    @Excel(name = "联系内容")
    private String relationshipResult;

    /** 中介id */
    @Excel(name = "中介id")
    private Long agentId;

    private Long userId;
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRelationshipInfo(String relationshipInfo)
    {
        this.relationshipInfo = relationshipInfo;
    }

    public String getRelationshipInfo()
    {
        return relationshipInfo;
    }
    public void setRelationshipDate(String relationshipDate) 
    {
        this.relationshipDate = relationshipDate;
    }

    public String getRelationshipDate() 
    {
        return relationshipDate;
    }
    public void setRelationshipResult(String relationshipResult) 
    {
        this.relationshipResult = relationshipResult;
    }

    public String getRelationshipResult() 
    {
        return relationshipResult;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relationshipInfo", getRelationshipInfo())
            .append("relationshipDate", getRelationshipDate())
            .append("relationshipResult", getRelationshipResult())
            .append("agentId", getAgentId())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
